package com.fitzone.web.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fitzone.model.dto.ActivityDTO;
import com.fitzone.model.dto.ActivityPageDTO;
import com.fitzone.model.entity.Activity;

import java.io.IOException;

public interface ActivityService extends IService<Activity> {
    void saveActivity(ActivityDTO activityDTO);

    void updateActivity(ActivityDTO activityDTO);

    void updateStatus(Long id, Integer status);

    Page<Activity> page(ActivityPageDTO activityPageDTO) throws IOException;
}
